<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/goods/searchgoods" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
  <div class="page">
    <div class="page-hd">
      <h1>商品搜索</h1>
    </div>
    <div class="filterbar">
      <form id="search" action="{:URL('admin/Goods/searchGoods')}" method="post">
        <label for="">商品淘宝搜索</label>
        <input type="text" name="keyword" id="keyword" value="{$keyword}" class="input-text">
        <button type="submit" class="btn-search" id="J_search" title="{$Think.lang.search}">
          <i class="icon-search"></i>
        </button>
      </form>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="">商品名称</th>
              <th style="">商品图片</th>
              <th style="">价格</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist name="data" id="vo">
              <tr data-id="{$vo['product_id']}" class="toggle">
                <td>
                  <input type="checkbox" name="checkbox" class="toggle" value="{$vo['product_id']}" />
                </td>
                <td>{$vo['name']}</td>
                <td>
                 <img  style="margin:5px; opacity:1;width:100px;height:100px" src="{$vo['pic_url']}"  />
                </td>
                <td>{$vo['price']}</td>
                <td>
                   <a href="javascript:;" class="A_add">添加</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
      <div class="datas-ft">
        <div class="actions">
          <a href="#" class="btn" id="J_add">批量添加</a>
          <a href="{:URL('admin/Goods/goodsList',array('status'=>'3'))}" class="btn">编辑已添加</a>
        </div>
        <div class="pager">{$page}</div>
      </div>
    </div>
  </div>
</body>

</html>
